import { defineStore } from "pinia";
export const useViewDataStore = defineStore("viewData", {
  state: () => ({
    viewData: [],
  }),
  getters: {
    getState: (state) => state.viewData,
  },
  actions: {
    setState(viewData?: any) {
      this.viewData = viewData;
    },
  },
});
